package com.yurendao.shop.category.service;

import com.yurendao.shop.category.domain.Category;
import com.yurendao.shop.category.domain.CategoryNav;
import com.yurendao.shop.goods.domain.Goods;
import com.yurendao.shop.pager.domain.ClassifyBean;

import java.util.List;

/**
 * Created by kong on 15/10/23.
 * 分类接口
 */
public interface CategoryService {
    /**
     * 顶层商品导航条
     * @return
     */
    List<CategoryNav> getNavBar();

    /**
     * 分类查找
     * @param category
     * @param classifyBean
     * @return
     */
    List<Goods> findByCategory(Category category,ClassifyBean classifyBean);

}
